﻿using System.Xml.Serialization;
namespace LogParser
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://schemas.microsoft.com/bing/bdi")]  
    [XmlRootAttribute(Namespace = "http://schemas.microsoft.com/bing/bdi")]
    public class BingRequest
    {
        public BingRequest()
        {
            xmlns.Add("bdi", "http://schemas.microsoft.com/bing/bdi");
        }

        public string Query { get; set; }

        public uint? QueryType { get; set; }

        public bool ShouldSerializeQueryType()
        {
            return QueryType.HasValue;
        }

        public string QueryHint { get; set; }

        public string UserEntryPoint { get; set; }

        public string AppID { get; set; }

        public string UserAgent { get; set; }

        public Requests Requests { get; set; }

        [XmlNamespaceDeclarations]
        public XmlSerializerNamespaces xmlns = new XmlSerializerNamespaces();
    }
}